A. java.util package
B. java.io package
C. java.lang package
D. java.awt package
Advertisement
Related Mcqs:
- Which among following classes is not part of Java’s collection framework ?
- A. Stack B. Maps C. Queue D. Array...
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- Which statements are most accurate regarding the following classes? class A{private int i; protected int j; } class B extends A{ private int k; protected int m; } ?
- A. An object of B contains data fields j, k, m B. An object of B contains data fields k, m C. An object of B contains data fields j, m D. An object of B contains data fields i, j, k, m...
- Which collection class associates values witch keys, and orders the keys according to their natural order ?
- A. java.util.LinkedList B. java.util.TreeMap C. java.util.SortedSet D. java.util.HashSet...
- A package is a collection of__________________?
- A. Classes and Interfaces B. Classes C. Editing tools D. Editing tools and Interfaces...
- Package of drawstring() method is _________________?
- A. java.awt B. javax.swing C. java.applet D. java.io...
- x=x+1 is equivalent to _________________?
- A. x++ B. ++x C. x=x-1 D. None of these...
- What is jdb_________________?
- A. java Disassemble B. java Interpreter C. java compiler D. java debugger...
- Size of int in Java is_________________?
- A. 8 bit B. 16 bit C. 32 bit D. 64 bit...
- Methods that have same name, but different Parameter list and different definition known as_________________?
- A. Overriding B. Overloading C. Constructor D. none of these...
Advertisement